Skip to content

Conversation

@Colengms
Copy link
Contributor

@Colengms Colengms commented Mar 14, 2025

Add 3 config fields (+ settings) related to recursive includes

  • recursiveIncludes.reduce - Allows the existing 'reducing' of recursive includes to be avoided, if set to never. There is a default value which we intended to use to support an optimization in a future where a TU can be started up without reducing only if tag parsing is not already done.

  • recursiveInclues.priority - Allows recursive includes to be searched either beforeSystemIncludes or afterSystemIncludes.

  • recursiveIncludes.order - Allows the search order within a recursive include to be depthFirst or breadthFirst.

The reduce setting addresses: #11780

@Colengms Colengms changed the title Add settings for 'reduce' and 'priorty' of recursive includes. Add settings for 'reduce', 'priorty' and internal order of recursive includes. Mar 15, 2025
@Colengms Colengms changed the title Add settings for 'reduce', 'priorty' and internal order of recursive includes. Add settings for 'reduce', 'priority' and internal 'order' of recursive includes. Mar 15, 2025
@Colengms Colengms changed the title Add settings for 'reduce', 'priority' and internal 'order' of recursive includes. Add settings for 'requireHeaders', 'reduce', 'priority' and internal 'order' of recursive includes. Mar 17, 2025
@Colengms Colengms changed the title Add settings for 'requireHeaders', 'reduce', 'priority' and internal 'order' of recursive includes. Add settings for 'reduce', 'priority' and internal 'order' of recursive includes. Mar 18, 2025
@Colengms Colengms marked this pull request as ready for review March 18, 2025 21:47
@Colengms Colengms requested a review from a team as a code owner March 18, 2025 21:47
@Colengms Colengms merged commit 225143f into main Mar 22, 2025
6 checks passed
@Colengms Colengms deleted the coleng/recursive_includes_settings branch March 22, 2025 01:19
@github-project-automation github-project-automation bot moved this from Pull Request to Done in cpptools Mar 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants